#!/usr/bin/env python
# -*- coding: UTF-8 -*-

import time
stamp = (2007, 7, 24, 8, 29, 12)
#datetime.datetime("%y/%m/%d %H:%M")
# datetime object to string

dt_obj = datetime(*stamp)
#dt_obj = datetime(2008, 11, 10, 17, 53, 59)
date_str = dt_obj.strftime("%Y-%m-%d %H:%M:%S")
print date_str

